package com.housediyadmin.utils
{
	import flash.display.Loader;
	import flash.net.URLLoader;
	import flash.net.URLRequest;

	/**
	 * 
	 * @author liaoruohuai
	 * 
	 */
	public class LoadAdmin
	{
		static private var loader:Loader = new Loader();
		static private var urlLoader:URLLoader = new URLLoader();
		
		static public function loadBitmapData(src:String):Loader
		{
			loader.load(new URLRequest(src));
			return loader;
		}
		
		static public function loadXML(src:String):URLLoader
		{
			urlLoader.load(new URLRequest(src));
			return urlLoader;
		}
	}
}